package cn.itsource.blog.service.impl;

import cn.itsource.blog.domain.Permission;
import cn.itsource.blog.mapper.PermissionMapper;
import cn.itsource.blog.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements IPermissionService {

    @Autowired
    private PermissionMapper permissionMapper;


    @Override
    public List<Permission> getAll() {
        return permissionMapper.getAll();
    }
}
